//
//  MessagePhotoMenuItem.h
//  Investment
//
//  Created by xujiuming on 14-12-7.
//  Copyright (c) 2014年 xujiuming. All rights reserved.
//

#import <UIKit/UIKit.h>

@class MessagePhotoMenuItem;
@protocol MessagePhotoItemDelegate <NSObject>

- (void)messagePhotoItemView:(MessagePhotoMenuItem *)messagePhotoItemView
didSelectDeleteButtonAtIndex:(NSInteger)index;

@end

@interface MessagePhotoMenuItem : UIView <UIAlertViewDelegate>
{
    long ltag;
}
@property(nonatomic,weak)id<MessagePhotoItemDelegate>delegate;
@property(nonatomic,assign)NSInteger index;
@property(nonatomic,strong) UIImage *contentImage;
@property(nonatomic,strong) NSString *filePath;
@property(nonatomic,strong) NSString *fileName;
@property(nonatomic,strong) NSString *dataType;     //图片，视频，音频

- (id)initWithFrame:(CGRect)frame withType:(NSString *)dataType;
@end
